<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>jasper</Name>
        <Homepage>http://www.ece.uvic.ca/~mdadams/jasper</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        <Summary>Software implementation of JPEG-2000 Part 1</Summary>
        <Description>JasPer is a software-based implementation of the codec specified in the JPEG-2000 Part-1 standard (ISO/IEC 15444-1:2000).</Description>
        <Archive sha1sum="42518b05fd73242f8ee8047d2e35e0275a697a5f" type="targz">http://www.ece.uvic.ca/~frodo/jasper/software/jasper-2.0.10.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <!--<Dependency>mesa-devel</Dependency>-->
            <!--<Dependency>mesa-glu-devel</Dependency>-->
        </BuildDependencies>
        <Patches>
            <Patch level="1">jasper-1.900.1-fix-filename-buffer-overflow.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>jasper</Name>
        <RuntimeDependencies>
            <!--<Dependency>freeglut</Dependency>-->
            <!--<Dependency>mesa</Dependency>-->
            <!--<Dependency>mesa-glu</Dependency>-->
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>jasper-docs</Name>
        <RuntimeDependencies>
            <Dependency>jasper</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>jasper-devel</Name>
        <Summary>Development files for jasper</Summary>
        <RuntimeDependencies>
            <Dependency release="current">jasper</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig/jasper.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>jasper-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for jasper</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <!--<Dependency>freeglut-32bit</Dependency>-->
            <Dependency>libjpeg-turbo-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">jasper</Dependency>
            <!--<Dependency>mesa-32bit</Dependency>
            <Dependency>freeglut-32bit</Dependency>-->
            <Dependency>libjpeg-turbo-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-06</Date>
            <Version>2.0.10</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>1.900.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-27</Date>
            <Version>1.900.1</Version>
            <Comment>Release bump</Comment>
            <Name>Hakan Yıldız</Name>
            <Email>hknyldz93@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2015-06-26</Date>
            <Version>1.900.1</Version>
            <Comment>First release</Comment>
            <Name>Hakan Yıldız</Name>
            <Email>hknyldz93@gmail.com</Email>
        </Update>
    </History>
</PISI>
